<!DOCTYPE html>
<html>
<#include "../head.html">
<body class="full">

<div class="mc">
    <div class="mc-l">
        <!--左侧导航---{-->
        <div id="navPanelContainer">
            <div class="system-logo cd"></div>
            <!--管理员信息---{-->
            <#include "../adminInfo.html">
                <!--管理员信息---}-->
                <div class="nav-wrap">
                    <#include "../borrow/leftForSaBorrow.html">
                </div>
        </div>
        <!--左侧导航---}-->
    </div>
    <div class="mc-m">
        <div class="navToggle"></div>
    </div>
    <div class="mc-r">
        <!--顶部导航---{-->
        <#include "../topNav.html">
            <!--顶部导航---}-->

            <!--面包屑导航---{-->
            <#assign moduleName="债权人提现记录">
                <#include "banner.html">
                    <!--面包屑导航---}-->

                    <!--工具栏--{-->
                    <div id="toolbar" class="clearfix">

                        <div class="toolbor-module search">
                            <input type="button" value="搜索"  class="input-button" onclick="sousuo();">
                        </div>

                        <div class="toolbor-module search">
                            <div class="formTit">时间：</div>
                            <input class="_search-value" type="text" name="dotime1"
                                   id="dotime1" value="${dotime1!}" onclick="change_picktime()" />
                            <div class="formTit">到</div>
                            <input class="_search-value" type="text" name="dotime2"
                                   value="${dotime2!}" id="dotime2" onclick="change_picktime()" />
                        </div>


                    </div>
                    <!--工具栏--}-->

                    <div id="main" class="clearfix">
                        <form action="" method="post">
                            <table class="data-list">
                                <tr class="header">
                                    <td>ID</td>
                                    <td>用户名称</td>
                                    <td>真实姓名</td>
                                    <td>提现账号</td>
                                    <td>类型</td>
                                    <td>提现银行</td>
                                    <td>提现总额</td>
                                    <td>到账金额</td>
                                    <td>手续费</td>
                                    <td>提现时间</td>
                                    <td>状态</td>
                                </tr>
                                <#list list as item>
                                    <tr class="s">
                                        <td>${(item.id!0)?c}</td>
                                        <td><#if item.user??&&item.user.userName??><a onclick='alertPop("用户详细信息查看","url:post?${request.getContextPath()}/admin/attestation/viewUserInfo.html?userId=${item.user.userId?c}",500,230,"true","","true","text");' href="javascript:void(0)">${item.user.userName!}</a><#else>-</#if></td>
                                        <td><#if item.user??&&item.user.realName??>${item.user.realName!}<#else>-</#if></td>
                                        <td><#if item??&&item.accountBank.account??>${item.accountBank.account!}<#else>-</#if></td>
                                        <td><#if item??&&item.accountBank.bank.memo??>${item.accountBank.bank.memo}<#else>-</#if></td>
                                        <td><#if item??&&item.accountBank.bank.bankName??>${item.accountBank.bank.bankName!}<#else>-</#if></td>
                                        <td><#if item??&&item.total??>${format2((item.total!"0"))}<#else>-</#if></td>
                                        <td><#if item??&&item.credited??>${format2((item.credited!"0"))}<#else>-</#if></td>
                                        <td><#if item??&&item.fee??>${format2((item.fee!"0"))}<#else>-</#if></td>
                                        <td><#if item??&&item.addtime??>${item.addtime}<#else>-</#if></td>
                                        <td><#if item.status==1>成功<#else>失败</#if></td>
                                    </tr>
                                </#list>
                            </table>

                        </form>

                        <!--底部工具栏--{-->
                        <div id="bottomToolbar" class="clearfix">
                            <div class="other-tool">
                                <dl class="refresh-data">
                                    <dt class="refresh-data-icon"></dt>
                                    <dd><a href="javascript:void(0);" class="refresh-page">刷新数据</a></dd>
                                </dl>
                            </div>

                            <!--翻页系统--{-->
                            <div class="container s_formPage">
                                <#import "../../common/page.html" as pager>
                                    <@pager.pagination page=page url="${pageUrl}" map=param style="style1" />
                            </div>
                            <!--翻页系统--}-->
                        </div>
                        <!--底部工具栏--}-->

                        <script>
                            var urls = 'viewCashRecord.html?userId=${userId?c}&search=true';
                            function sousuo(){
                                var sou = "";
                                var username = $("#username").val();
                                if (username!=null&&username!=""&&username!="undefine"&&username!="请输入用户名"){
                                    sou += "&username="+username;
                                }
                                var dotime1 = $("#dotime1").val();
                                var dotime2 = $("#dotime2").val();
                                if (dotime1!=null){
                                    sou += "&dotime1="+dotime1;
                                }
                                if (dotime2!=null){
                                    sou += "&dotime2="+dotime2;
                                }
                                var url=urls+sou
                                location.href=url;
                            }
                        </script>
                    </div>
    </div>
</div>
<div class="mc-b"><#include "../foot.html"></div>
<#include "../jsPage.html">

</body>
</html>

